export default [
  {
    groupName: '智慧环境数据统计',
    children: [
      {
        row: 8,
        label: '平均 PM2.5',
        value: '35'
      },
      {
        row: 8,
        label: '平均二氧化碳',
        value: '883'
      },
      {
        row: 8,
        label: '平均 TVOC',
        value: '0.26'
      },
      {
        row: 8,
        label: '平均温度',
        value: '27.5℃'
      },
      {
        row: 8,
        label: '平均湿度',
        value: '43'
      },
      {
        row: 8,
        label: '平均甲醛量',
        value: '0.057'
      },
      {
        row: 24,
        label: '空间分布',
        value: ''
      },

      {
        row: 24,
        type: 'pie',
        legendData: [
          '西侧走廊',
          '东侧国道',
          '南侧休息区',
          '消防通道',
          '2101',
          '2102',
          '2103',
          '2104',
          '东侧设备房',
          '西侧设备房',
          '南侧设备房',
          '北侧设备房'
        ],
        seriesData: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]
      },
      {
        row: 24,
        label: '空间列表',
        value: ''
      },
      {
        row: 24,
        type: 'table',
        columns: [
          { label: '空间名称', prop: 'name' },
          { label: '空间编号', prop: 'no' },
          { label: '空间面积', prop: 'area' },
          { label: '维修次数', prop: 'repair' }
        ],
        data: [
          {
            id: 1,
            name: '公区',
            children: [
              {
                id: 2,
                name: '西侧走廊',
                no: '10000001',
                area: '124㎡',
                repair: '2'
              },
              {
                id: 3,
                name: '东侧国道',
                no: '10000002',
                area: '124㎡',
                repair: '1'
              },
              {
                id: 4,
                name: '南侧休息区',
                no: '10000003',
                area: '124㎡',
                repair: '0'
              },
              {
                id: 5,
                name: '消防通道',
                no: '10000004',
                area: '124㎡',
                repair: '0'
              }
            ]
          },
          {
            id: 6,
            name: '办公区',
            children: [
              {
                id: 7,
                name: '2101',
                no: '10000005',
                area: '100㎡',
                repair: '2'
              },
              {
                id: 8,
                name: '2102',
                no: '10000006',
                area: '100㎡',
                repair: '1'
              },
              {
                id: 9,
                name: '2103',
                no: '10000007',
                area: '120㎡',
                repair: '0'
              },
              {
                id: 10,
                name: '2104',
                no: '10000008',
                area: '120㎡',
                repair: '0'
              }
            ]
          },
          {
            id: 11,
            name: '设备房',
            children: [
              {
                id: 12,
                name: '东侧设备房',
                no: '10000009',
                area: '100㎡',
                repair: '2'
              },
              {
                id: 13,
                name: '西侧设备房',
                no: '100000010',
                area: '100㎡',
                repair: '1'
              },
              {
                id: 14,
                name: '南侧设备房',
                no: '100000011',
                area: '120㎡',
                repair: '0'
              },
              {
                id: 15,
                name: '北侧设备房',
                no: '100000012',
                area: '120㎡',
                repair: '0'
              }
            ]
          }
        ],
        tableProps: {
          'row-key': 'id',
          'default-expand-all': true,
          'tree-props': { children: 'children', hasChildren: 'hasChildren' }
        }
      }
    ]
  }
]
